package com.tiancheng.trade.payment.channel.umsshop.response;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.StringUtils;

/**
 * 银联商务-新购物车 提现余额查询 响应
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UmsShopWithdrawMerchantBalanceQueryRes extends UmpShopApiResponse {

    /**
     * 系统编号
     */
    private String sysId;
    /**
     * T0可提现金额
     */
    private Integer t0WithdrawAmt;
    /**
     * TZ可提现金额
     */
    private Integer tzWithdrawAmt;
    /**
     * D1提现待支付金额
     */
    private Integer d1withdrawAmtWaitPay;

    public boolean isOk() {
        return StringUtils.isNotEmpty(this.getRespCode()) && getRespCode().equals("000000");
    }
}
